package com.flea.hclv.model.dao;

import com.flea.hclv.model.entity.HProductAgencyOrder;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface HProductAgencyOrderMapper {
    int deleteByPrimaryKey(String id);

    int insert(HProductAgencyOrder record);

    int insertSelective(HProductAgencyOrder record);

    HProductAgencyOrder selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(HProductAgencyOrder record);

    int updateByPrimaryKey(HProductAgencyOrder record);

    void insertBatch( @Param("enetities")List<HProductAgencyOrder> entities) throws Exception;

    void deleteBatchInvalid(@Param("ids") List<String> ids,@Param("userId")String userId)throws Exception;

  List<HProductAgencyOrder> find4Paging(RowBounds rowBounds ,@Param("deptId")String curDeptUuid);
}